package oo1;

public class PhoneTest2 {

	public static void main(String[] args) {

		MobilePhone m = new MobilePhone();
		m.brand = "华为mate30 pro";
		m.color = "黑色";
		m.money = 7399;
		m.weight = 120;
		m.screenSize = "8千万像素";
		m.b = new Battery();// ?

		m.b.factory = "原装";
		m.b.color = "黑";
		m.b.vol = 10000;
		m.show();

	}

}
